Fravia's TOOLS OF OUR TRADE Messageboard ~ Moderated
Re: break on specific registry key access
Tuesday, 23-Feb-99 12:53:18

In your case, i.e. HKCU\Software\SomeProgName\regname

You can use:

Bpx RegQueryValueExa IF *(esp->8)=='regn' Do "D esp->14;"

to break into Softice.

I have successfully cracked over 10 programs using this trick. For the detail, see Rhayader's assay "Setting breakpoint action in SoftIce", I think you can find it in section "Softice" of Fravia's site.

Biohit